package xyz.jangle.design.factory;
/**
 * 工厂2，封装具体产品的构造过程。
 * @author Administrator
 *
 */
public class ConcreteCreator2 implements Creator {

	@Override
	public Product factoryMethod() {
		ConcreteProduct2 product2 = new ConcreteProduct2();
		product2.setName("名称2");
		return product2;
	}

}
